package com.tsunami.demo;

import com.tsunami.user.annotation.EnableLoginArgResolver;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Classname DemoApiApplication
 * @Description TODO
 * @Date 2021-11-11 14:12
 * @Created by lx
 */
@EnableDiscoveryClient
@EnableFeignClients
@SpringBootApplication
@EnableLoginArgResolver //注入登录用户的注解
@MapperScan("com.tsunami.demo.mapper")
public class DemoApiApplication {
    public static void main(String[] args) {
        SpringApplication.run(DemoApiApplication.class,args);
    }
}
